/*
 *  Copyright (C) 2015, All Rights Reserved.
 */
package models.uuid;

import java.util.UUID;

/**
 * UUID工具.
 */
public class UUIDUtil {

    /**
     * 将随机UUID转换成32位字符串.
     */
    public static String getUUID32() {
        return UUID.randomUUID().toString().replaceAll("-", "");
    }

    public static void main(String[] args) {
        System.out.println(getUUID32());
    }

}
